package com.hand.wfive.view.dialog;

import android.content.Context;
import android.widget.ImageView;

import androidx.annotation.NonNull;

import com.bumptech.glide.Glide;
import com.lxj.xpopup.core.CenterPopupView;
import com.hand.wfive.R;

import butterknife.BindView;
import butterknife.ButterKnife;

public class DownProgressView extends CenterPopupView {
    @BindView(R.id.progress_im)
    ImageView imageView;

    public DownProgressView(@NonNull Context context) {
        super(context);
    }

    @Override
    protected int getImplLayoutId() {
        return R.layout.dialog_progress;
    }

    @Override
    protected void onCreate() {
        super.onCreate();
        ButterKnife.bind(this);
        Glide.with(this)
                .asGif()
                .load(R.drawable.gif_down_loading)
                .into(imageView);
    }

}
